const bannerModel = require('./model/bannerModel');

module.exports.findBannerDao = async function () {
    return await bannerModel.findAll();
}
module.exports.updateBannerDao = async function (id, data) {
    return await bannerModel.update(data, {where: {id: id}})
}